/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.library.model;

/**
 * <p>
 * This class is a wrapper for {@link Book}.
 * </p>
 *
 * @author    Velocity
 * @see       Book
 * @generated
 */
public class BookWrapper implements Book {
	public BookWrapper(Book book) {
		_book = book;
	}

	public int getPrimaryKey() {
		return _book.getPrimaryKey();
	}

	public void setPrimaryKey(int pk) {
		_book.setPrimaryKey(pk);
	}

	public int getBookId() {
		return _book.getBookId();
	}

	public void setBookId(int BookId) {
		_book.setBookId(BookId);
	}

	public java.lang.String getBookTitle() {
		return _book.getBookTitle();
	}

	public void setBookTitle(java.lang.String BookTitle) {
		_book.setBookTitle(BookTitle);
	}

	public java.lang.String getAuthor() {
		return _book.getAuthor();
	}

	public void setAuthor(java.lang.String Author) {
		_book.setAuthor(Author);
	}

	public Book toEscapedModel() {
		return _book.toEscapedModel();
	}

	public boolean isNew() {
		return _book.isNew();
	}

	public void setNew(boolean n) {
		_book.setNew(n);
	}

	public boolean isCachedModel() {
		return _book.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_book.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _book.isEscapedModel();
	}

	public void setEscapedModel(boolean escapedModel) {
		_book.setEscapedModel(escapedModel);
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _book.getPrimaryKeyObj();
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _book.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_book.setExpandoBridgeAttributes(serviceContext);
	}

	public java.lang.Object clone() {
		return _book.clone();
	}

	public int compareTo(Book book) {
		return _book.compareTo(book);
	}

	public int hashCode() {
		return _book.hashCode();
	}

	public java.lang.String toString() {
		return _book.toString();
	}

	public java.lang.String toXmlString() {
		return _book.toXmlString();
	}

	public Book getWrappedBook() {
		return _book;
	}

	private Book _book;
}